package poc.spring.interfaces;

import java.util.List;

import javax.xml.namespace.NamespaceContext;

import poc.spring.model.BcsoiCacheQueryParams;

public interface IBcsoiCacheService {
	
	public boolean save(BcsoiCacheQueryParams bcsoiQP);
	
	public boolean save(String ddmsResource, NamespaceContext context);

	public List<BcsoiCacheQueryParams> getAll(String adapterName);

	public BcsoiCacheQueryParams getById(int id);

	public boolean delete(BcsoiCacheQueryParams bcsoiQP);
	
	public boolean delete(String adapterName);

	public boolean update(BcsoiCacheQueryParams bcsoiQP);
	
	public int count(String adapterName);

}
